package com.ruoyi.utils;

import com.alibaba.fastjson2.JSONObject;

public class Check {

    public static boolean CheckIsSuccess(JSONObject checkBody) {
        //  System.out.println(((checkBody.get("status").equals("201") )));
        if ((checkBody.get("status").toString().equals("200") )||( checkBody.get("status").toString().equals("201"))) {
            return true;
        }else{
            return false;
        }

    }
}
